<%--
  Created by IntelliJ IDEA.
  User: dell
  Date: 2018/6/3
  Time: 21:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录</title>
</head>
<body>


<form action="post" method="login">
    用户名:<input type="text" name="username" value="${user.userName}"/><br/>
    密码:<input type="text" name="password" value="${user.passWord}"/><br/>
    <input type="submit" value="登录">
    <button><a href="register.jsp">注册新用户</a></button><br/>

    <p id="error">${error}</p>
    <p id="notLogin">${notLogin}</p>
</form>

</body>
</html>
